package com.ruifight.data.bean;

/**
 * Created by liuhx on 2016/11/25.
 */
public class RawDataBean {
    //协议头
    private String headDataEdition; //版本号 长度3bit
    private String headDataType;  //协议类型  长度3bit  0=数据:检测数据 1=数据:事件通知 2:设备配置 3=命令:获取下发数据 4=命令:获取校准事件
    private String headDataSpare;  //长度 2bit 备用
    //固定部分
    private String bodyDataCpuId; //cpuid 12B
    private String bodyDataResidualElectric;//电量 1B
    private String bodyDataPowerSupply;//供电方式 0=电源,1=电池 1bit
    private String bodyDataSpare;//备用 7bit 总为0
    //可变部分
    private TestDataBean testDataBean;//数据-检测数据
    private EvenNotificationBean evenNotificationBean;//数据-事件通知
    private DeviceConfigurationBean deviceConfigurationBean;//数据-设备配置
    
    public EvenNotificationBean getEvenNotificationBean() {
		return evenNotificationBean;
	}

	public void setEvenNotificationBean(EvenNotificationBean evenNotificationBean) {
		this.evenNotificationBean = evenNotificationBean;
	}

	public DeviceConfigurationBean getDeviceConfigurationBean() {
		return deviceConfigurationBean;
	}

	public void setDeviceConfigurationBean(DeviceConfigurationBean deviceConfigurationBean) {
		this.deviceConfigurationBean = deviceConfigurationBean;
	}

	public TestDataBean getTestDataBean() {
		return testDataBean;
	}

	public void setTestDataBean(TestDataBean testDataBean) {
		this.testDataBean = testDataBean;
	}

	public String getHeadDataEdition() {
        return headDataEdition;
    }

    public void setHeadDataEdition(String headDataEdition) {
        this.headDataEdition = headDataEdition;
    }

    public String getHeadDataType() {
        return headDataType;
    }

    public void setHeadDataType(String headDataType) {
        this.headDataType = headDataType;
    }

    public String getHeadDataSpare() {
        return headDataSpare;
    }

    public void setHeadDataSpare(String headDataSpare) {
        this.headDataSpare = headDataSpare;
    }

    public String getBodyDataCpuId() {
        return bodyDataCpuId;
    }

    public void setBodyDataCpuId(String bodyDataCpuId) {
        this.bodyDataCpuId = bodyDataCpuId;
    }

    public String getBodyDataResidualElectric() {
        return bodyDataResidualElectric;
    }

    public void setBodyDataResidualElectric(String bodyDataResidualElectric) {
        this.bodyDataResidualElectric = bodyDataResidualElectric;
    }

    public String getBodyDataPowerSupply() {
        return bodyDataPowerSupply;
    }

    public void setBodyDataPowerSupply(String bodyDataPowerSupply) {
        this.bodyDataPowerSupply = bodyDataPowerSupply;
    }

    public String getBodyDataSpare() {
        return bodyDataSpare;
    }

    public void setBodyDataSpare(String bodyDataSpare) {
        this.bodyDataSpare = bodyDataSpare;
    }





    public  RawDataBean()
    {
        super();
    }
    public RawDataBean(String headDataEdition,String headDataType,String headDataSpare,String bodyDataCpuId,String bodyDataResidualElectric,String bodyDataPowerSupply,String bodyDataSpare)
    {
        this.headDataEdition = headDataEdition;
        this.headDataType = headDataType;
        this.headDataSpare = headDataSpare;
        this.bodyDataCpuId = bodyDataCpuId;
        this.bodyDataResidualElectric = bodyDataResidualElectric;
        this.bodyDataPowerSupply = bodyDataPowerSupply;
        this.bodyDataSpare = bodyDataSpare;
    }
}
